export interface BaseResponse {
  list?: any;
  total: any;
  code?: any;
  msg?: string;
}

// export interface ItemResponse<T> extends BaseResponse {
//   item?: T;
// }
//
// export interface ListResponse<T> extends BaseResponse {
//   items?: T[];
// }

export interface PageResponse<T> extends BaseResponse {
  total: number;
  list: T[];
}

export interface MyData<T> {
  total: number;
  list: T[];
}
